﻿@model G28BS.Models.GameRoom

@{
    ViewBag.Title = "Create new gameroom";
}

<h2>On this page we intend to place the interface creating a new gameroom</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) 

{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>GameRoom</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.gameRoomName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.gameRoomName)
            @Html.ValidationMessageFor(model => model.gameRoomName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.gameRoomType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.gameRoomType)
            @Html.ValidationMessageFor(model => model.gameRoomType)
        </div>
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}
